/*
* Copyright (c) 2016 ShopJsp. All Rights Reserved.
 * ============================================================================
 * 版权所有 2011 - 今 北京华宇盈通科技有限公司，并保留所有权利。
 * ----------------------------------------------------------------------------
 * 提示：在未取得SHOPJSP商业授权之前，您不能将本软件应用于商业用途，否则SHOPJSP将保留追究的权力。
 * ----------------------------------------------------------------------------
 * 官方网站：http://www.shopjsp.com
 * ============================================================================
*/
package com.hyyt.shopjsp.product.vo;

import com.hyyt.shopjsp.product.pojo.ShopBrand;

import java.util.List;

/**
 * ProductTypeBean：商品分类实体bean的封装，用于所有分类展示
 *
 * @author
 */
public class AllProductTypeVo {
    /**分类ID**/
    private Integer productTypeId;
    /**分类名称**/
    private String sortName;
    /**图片路径**/
    private String categoryImage;
    /**子类集合（直接是本身对象集合）**/
    private List<AllProductTypeVo> productTypeList;
    /**商品品牌集合**/
    private List<ShopBrand> brandList;
    /**分类等级**/
    private Integer level;
    /**分类父ID**/
    private Integer parentId;
    /**加载类型**/
    private String loadType;//1:叶子   2：非叶子

    public Integer getProductTypeId() {
        return productTypeId;
    }

    public void setProductTypeId(Integer productTypeId) {
        this.productTypeId = productTypeId;
    }

    public String getSortName() {
        return sortName;
    }

    public void setSortName(String sortName) {
        this.sortName = sortName;
    }

    public String getCategoryImage() {
        return categoryImage;
    }

    public void setCategoryImage(String categoryImage) {
        this.categoryImage = categoryImage;
    }

    public List<AllProductTypeVo> getProductTypeList() {
        return productTypeList;
    }

    public void setProductTypeList(List<AllProductTypeVo> productTypeList) {
        this.productTypeList = productTypeList;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public List<ShopBrand> getBrandList() {
        return brandList;
    }

    public void setBrandList(List<ShopBrand> brandList) {
        this.brandList = brandList;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getLoadType() {
        return loadType;
    }

    public void setLoadType(String loadType) {
        this.loadType = loadType;
    }
}
